package STUDENT.NGUYENHUUTHANG.STRUCTURE_PROGRAMMING.EXAMPLES;

import java.util.Scanner;

public class dangnhap {

	public static void main(String[] args) {
		System.out.println("Vui long nhap thong tin dang nhap:");
		System.out.println("Ten dang nhap:");
		Scanner sc = new Scanner(System.in);
		String username = sc.nextLine();
		if (username.isEmpty()) {
			System.out.println("Ban chua nhap ten dang nhap!");
		} else
			System.out.println("Mat khau:");
		String password = sc.nextLine();
		if (password.isEmpty()) {
			System.out.println("Ban chua nhap mat khau!");

		}
		else if (username.equals("abc")&&password.equals("123456")){
			System.out.println("Ban da dang nhap thanh cong!");
		}
		else System.out.println("Dang nhap khong thanh cong, vui long kiem tra lai thong tin dang nhap.");

	}
}